package com.huike.clues.mapper;


import com.huike.clues.domain.TbClueTrackRecord;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 线索跟进记录Mapper接口
 * @date 2021-04-19
 */
public interface TbClueTrackRecordMapper {


    void addClueTrackRecord(TbClueTrackRecord tbClueTrackRecord);

    void upDateClueStatus(Long id);

    List<TbClueTrackRecord> selectByClueId(Long clueId);

    //修改线索跟进记录
    void upDateClueByClueId(Map tbClueTrackRecord);

    //查询线索次数
    Integer selectClueFalseCount(Long clueId);

    //修改线索状态
    void upDateClueSatues(@Param("id") Long id,@Param("falseCount") Integer falseCount);

    //删除线索
    void deleteByClueIdAfter(Long id);
    ///
}
